﻿<UserControl x:Class="Menafrinet.View.Controls.AnalysisPanel"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:view="clr-namespace:Menafrinet.View"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="400" d:DesignWidth="700" Loaded="LoadDropDownLists">
    <Grid x:Name="grdHome" VerticalAlignment="Stretch" Height="Auto" Width="Auto" >
        <Grid.RowDefinitions>
            <RowDefinition Height="12"></RowDefinition>
            <RowDefinition Height="490*"></RowDefinition>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="0*"></ColumnDefinition>
            <ColumnDefinition Width="845*" />
        </Grid.ColumnDefinitions>

        <Canvas Height="347" HorizontalAlignment="Left" Name="CanvasSelection" VerticalAlignment="Top" Width="334" Panel.ZIndex="10" Margin="-170,29,0,0" Grid.ColumnSpan="2" Grid.Row="1" Background="#FFEFECE5" >
            <Canvas.BitmapEffect>
                <DropShadowBitmapEffect/>
            </Canvas.BitmapEffect>
            <ComboBox Height="23" Name="DistrictComboBox" Width="160" Panel.ZIndex="10" Canvas.Left="6" Canvas.Top="62" />
            <ComboBox Height="23" Name="EpiStartYearComboBox" Width="160" Panel.ZIndex="10" Canvas.Left="6" Canvas.Top="101" />
            <ComboBox Height="23" Name="EpiEndYearComboBox" Panel.ZIndex="10" Width="160" Canvas.Left="6" Canvas.Top="142" />
            <Label Content="End Year:" Name="label4" Panel.ZIndex="10" Height="28" Canvas.Left="15" Canvas.Top="121" />
            <Label Content="Start Year:" Name="label2" Panel.ZIndex="10" Canvas.Left="16" Canvas.Top="80" />
            <Label Content="District:" Height="28" Name="label1" Panel.ZIndex="0" Canvas.Left="20" Canvas.Top="40" />
            <Label Content="Epi Week:" Height="28" Name="label3" Panel.ZIndex="10" Canvas.Left="12" Canvas.Top="162" />
            <ComboBox Name="EpiWeekComboBox" Width="160" Text="" MaxDropDownHeight="300" Panel.ZIndex="10" AllowDrop="False" Canvas.Left="6" Canvas.Top="183"></ComboBox>
            <Button Style="{StaticResource FlatButtonStyle}" x:Name="Update_All_Button" Panel.ZIndex="10" Content="Update" FontSize="14" Width="160" MaxHeight="20" Click="Update_All_Click" Canvas.Left="4" Canvas.Top="285" Background="#FF5EA8DE" />
            <Button Style="{StaticResource FlatButtonStyle}" x:Name="ClearButton" Panel.ZIndex="10" Content="Clear" FontSize="14" Width="160" Height="20" Click="ClearButton_Click" Canvas.Left="4" Canvas.Top="315" Background="#FF5EA8DE" />
            <TextBlock Canvas.Left="12" Canvas.Top="19" FontSize="18" FontWeight="Light" Foreground="#3F529C" Height="24" Name="textBlock1" Panel.ZIndex="10" Width="84">critères:</TextBlock>
            <DatePicker Canvas.Left="6" Canvas.Top="215" Height="25" Name="datePicker1" Width="160" />
            <DatePicker Canvas.Left="6" Canvas.Top="250" Height="25" Name="datePicker2" Width="160" />
            <Button Style="{StaticResource FlatButtonStyle}" Canvas.Left="171" Canvas.Top="62" MaxHeight="20" MaxWidth="160" x:Name="BtnCases" Panel.ZIndex="10" Content="Cases by District / Region" FontSize="14" Width="161" Click="btnCases_Click" />
            <Button Style="{StaticResource FlatButtonStyle}" Canvas.Left="171" Canvas.Top="102" Focusable="False" Height="19" MaxHeight="20" MaxWidth="160" x:Name="BtnCasesByEpiweek" Panel.ZIndex="10" Content="Epidemiologic Curve" FontSize="14" Width="161" />
            <Button Style="{StaticResource FlatButtonStyle}" Canvas.Left="171" Canvas.Top="142" FontStretch="Condensed" MaxHeight="20" MaxWidth="160" x:Name="BtnClassifyByAgeGroup" Panel.ZIndex="10" Content="Classification by Age Group" FontSize="13" Width="161" Click="BtnClassifyByAgeGroup_Click" />
            <Button Style="{StaticResource FlatButtonStyle}" Canvas.Left="171" Canvas.Top="184" MaxHeight="20" MaxWidth="160" x:Name="NmALineList" Panel.ZIndex="10" Content="NmA Line List" FontSize="14" Width="160" />
            <Button Style="{StaticResource FlatButtonStyle}" Canvas.Left="171" Canvas.Top="224" Height="20" MaxHeight="24" MaxWidth="160" x:Name="PerformanceIndicators" Panel.ZIndex="10" Content="Performance Indicators" FontSize="14" Width="163" />
            <Button Style="{StaticResource FlatButtonStyle}" Canvas.Left="171" Canvas.Top="252" Height="20" MaxHeight="24" MaxWidth="160" x:Name="SelectedEventButton" Panel.ZIndex="10" Content="Selected event" FontSize="14" Width="163" />
            <TextBlock Canvas.Left="179" Canvas.Top="19" FontSize="18" FontWeight="Light" Foreground="#3F529C" Height="24" Name="ReportsText" Panel.ZIndex="10" Width="81">Reports:</TextBlock>
            <Button Style="{StaticResource FlatButtonStyle}" Canvas.Left="171" Canvas.Top="285" Height="20" MaxHeight="24" MaxWidth="160" x:Name="ChangeCriteria_flatColorButton" Panel.ZIndex="10" Content="Modify the Criteria" FontSize="14" Width="163" Click="ChangeCriteria_flatColorButton_MouseLeftButtonUp" Background="#FF5EA8DE" ToolTip="Cliquez ici pour mettre à jour ou de modifier les rapports." />
        </Canvas>
        <!--<controls:AnalysisSidebarPanel x:Name="grdRight" Margin="0,0,0,0" Grid.Row="1" Grid.Column="2" />-->
        <!--<abcs:RightMenuGrid x:Name="grdRight" Margin="0,0,0,0" Grid.Row="1" Grid.Column="2" />-->
        <ProgressBar Grid.Column="1" Grid.Row="1" Height="16" HorizontalAlignment="Left" Margin="198,372,0,0" Name="ProgressBar_Analysis" VerticalAlignment="Top" Width="351" Visibility="Visible" />
        <DocumentViewer Grid.Column="1"  HorizontalAlignment="Right" Margin="168,0,12,8" Name="documentViewer1" VerticalAlignment="Top" Width="Auto" Grid.RowSpan="2" Grid.ColumnSpan="1" Height="{Binding RelativeSource={RelativeSource AncestorType={x:Type Window}}, Path=ActualHeight}" />
    </Grid>
</UserControl>
